﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace SAEA_TestServer.Server
{
    public class AsnyUserToken
    {
        public Socket UserSocket;
    }

    public class MsgModel
    {

        //发送内容
        public string massage;

        public string ipAddress; 
        
        /// <summary>
        /// 发送的数据包内容
        /// </summary>
        /// <param name="ipAddress">IP地址，服务器在字典中查找对应的</param>
        /// <param name="massage"></param>
        public MsgModel(string ipAddress, string massage)
        {
            this.massage = massage;
            this.ipAddress = ipAddress;
        }
    }
}
